<div class="row">
	<div class="col-xs-12">
    	<article id="event-hot">
            <div class="row">
            	<div class="carouFredSel">
            <?php foreach ($model as $key => $data): ?>
            <div class="event-item">
                <div class="event-hot">
                    <div class="event-block">
                        <div class="event-content">
                            <h3><?php echo CHtml::link($data->title, array('/Events/default/view', 'category'=>$data->category->url, 'url'=>$data->url)); ?></h3>
                            <span class="meta">
                                <span class="glyphicon glyphicon-time"></span> <?php echo $data->startdate; ?>
                            </span>
                        </div>
                        <div class="event-image">
                            <a href="<?php echo Yii::app()->createUrl('/Events/default/view', array('category'=>$data->category->url, 'url'=>$data->url)); ?>" class="hover-effect">
                                <span class="cover">
                                    <span class="glyphicon glyphicon-link"></span>
                                    <img src="<?php echo IMAGES_URL . 'events/thumbs/' , date('Ymd', strtotime($data->posteddate)), '/', $data->image; ?>" alt="<?php echo $data->title; ?>" height="135">
                                </span>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
            <?php endforeach; ?>
            	</div>
            </div>
        </article>
    </div>
</div>